package com.auto.service;

import com.auto.domain.User;
import com.auto.mapper.UserMapper;
import com.github.pagehelper.Page;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserService {
    @Autowired
    private UserMapper userMapper;

    public Page<User> findAll() {
        return userMapper.findAll();
    }
}
